import requests

base_url = 'https://www.baidu.com/s'
wd_param = {'wd': 'python'}

response = requests.get(base_url, params=wd_param)

print(response.status_code)